nested vmx: fix interrupt delivery to L2 guest
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:58:59 +0000 (16:58 +0000)
committerDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:58:59 +0000 (16:58 +0000)
commite018256bfbfa1fbd8b0a598b219171ddd0e2fe17
tree276a9a841fc84406a3ba004c70bba53098fde1d8
parent0f589e24bdd503b396d1083477d3e0b795b666c9
nested vmx: fix interrupt delivery to L2 guest

While delivering interrupt into L2 guest, L0 hypervisor need to check
whether L1 hypervisor wants to own the interrupt, if not, directly
inject the interrupt into L2 guest.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/intr.c